﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FaceSharp.Api;
using FaceSharp.MVC.Code.Common;
using FaceSharp.MVC.Filters;
using Newtonsoft.Json;
using System.Dynamic;
using Newtonsoft.Json.Linq;

namespace FaceSharp.MVC.Areas.FacebookApp.Controllers
{
    
    public class SamplesController : BaseController
    {
        //
        // GET: /FacebookApp/Samples/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Test()
        {
            return View();
        }

        public void FriendsInRelationships()
        {
            //var facebookApi = new FacebookApi();
            //var results = facebookApi.RestApi.ExecuteFql("select significant_other_id, uid from user where uid in (select uid2 from friend where uid1 = me()) and significant_other_id > 0");
            //var friends = JObject.Parse(results);
            //return View(friends);
        }

    }
}
